package com.oa.bean.student;

import java.util.Set;

import com.oa.bean.bazaar.Inten;

/**
 * 
 * 宿舍表
 */
public class Hourse {
	private int hourid;
	private String hourname;// 宿舍名称
	
	private Set<Inten> intens;

	public Hourse(){}
	
	public Hourse(int hourid, String hourname) {
		this.hourid = hourid;
		this.hourname = hourname;
	}

	public int getHourid() {
		return hourid;
	}

	public void setHourid(int hourid) {
		this.hourid = hourid;
	}

	public String getHourname() {
		return hourname;
	}

	public void setHourname(String hourname) {
		this.hourname = hourname;
	}

	public Set<Inten> getIntens() {
		return intens;
	}

	public void setIntens(Set<Inten> intens) {
		this.intens = intens;
	}

	@Override
	public String toString() {
		return "Hourse [hourid=" + hourid + ", hourname=" + hourname + "]";
	}

}
